package com.lqk.fnandroid.net

import com.lqk.fnandroid.baen.User
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface API {

    @GET("/")
    fun helloGet(): Call<ResponseBody>

    @POST("/")
    fun helloPost(): Call<ResponseBody>

    @POST("/user")
    fun postUser(@Body user: User): Call<User>
}